/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Current.Units;

import java.io.Serializable;

/**
 * @author Fork
 */
public class Guards extends Unit implements Serializable, Cloneable {

    private int defenseIncrease;

    public Guards(int costToTrain, int haveTrained, boolean untrainable, int defenseIncrease) {
        super(costToTrain, haveTrained, untrainable);
        this.defenseIncrease = defenseIncrease;
    }

    //Stat Increase Info Handling
    public int getDefenseIncrease() {
        return defenseIncrease;
    }

    public int getTotalDefenseIncrease() {
        return defenseIncrease * haveTrained;
    }

}
